<%@ page contentType="text/html;charset=UTF-8" %>

<div class="login">
    <g:if test="${flash.message}">
      <div class="message">${flash.message}</div>
    </g:if>
    <span class="cabe">LOGIN</span><br/>
    <form action='${postUrl}' method='POST' id='loginForm' autocomplete='off'>
      <label for='username'>Usuário: </label>
        <input type='text' style='width:125px;' name='j_username' id='username' /><br/>
      <label for='password'>Senha: </label>
        <input type='password' style='width:125px;' name='j_password' id='password' /><br/>
        <input type='submit' value='Login' />
      <label for='remember_me'>Lembrar</label>
        <input type='checkbox' style='height:12px;' name='${rememberMeParameter}' id='remember_me'
        <g:if test='${hasCookie}'>checked='checked'</g:if> />
    </form>
</div>
<script type='text/javascript'>
<!--
(function(){
	document.forms['loginForm'].elements['j_username'].focus();
})();
// -->
</script>